import request from '@/utils/request.js' 
 
export function login(data){ 
	return request({
	    url: '/auth/login',
		method: 'post',
		data: data
	 })
}

export function getOpenid(data){ 
	return request({
	    url: '/auth/getOpenid',
		method: 'post',
		data: data
	 })
}

export function commitUserInfo(data){ 
	return request({
	    url: '/auth/getUserinfo',
		method: 'post',
		data: data
	 })
}
// 首页信息
export function myIndex(data){ 
	return request({
	    url: '/my/index',
		method: 'post',
		data: data
	 })
}
// 我的余额
export function myBalance(data){ 
	return request({
	    url: '/my/myBalance',
		method: 'post',
		data: data
	 })
}
// 提现余额
export function myCashout(data){ 
	return request({
	    url: '/my/myCashout',
		method: 'post',
		data: data
	 })
}
// 明细列表
export function myFinance(data){ 
	return request({
	    url: '/my/myFinance',
		method: 'post',
		data: data
	 })
}
//申请律师入驻
export function lawerApply(data){ 
	return request({
	    url: '/my/lawerApply',
		method: 'post',
		data: data
	 })
}

//获取专业领域列表
export function getExpertiseList(data){ 
	return request({
	    url: '/my/expertiseList',
		method: 'post',
		data: data
	 })
}
//获取 银行列表
export function BankList(data){ 
	return request({
	    url: '/my/bankList',
		method: 'post',
		data: data
	 })
}
//获取   各种服务协议
export function agreement(data){ 
	return request({
	    url: '/index/agreement',
		method: 'post',
		data: data
	 })
}
// 律师状态
export function MyStatus(data){ 
	return request({
	    url: '/mylawer/modMyStatus',
		method: 'post',
		data: data
	 })
}

export function getLegalOnline(data){ 
	return request({
	    url: '/orders/getLegalOnline',
		method: 'post',
		data: data
	 })
}


export function getBankList(data){ 
	return request({
	    url: '/my/bankList',
		method: 'post',
		data: data
	 })
}


export function doBankCard(data){ 
	return request({
	    url: '/my/doBankCard',
		method: 'post',
		data: data
	 })
}


export function getBankCard(data){ 
	return request({
	    url: '/my/getBankCard',
		method: 'post',
		data: data
	 })
}

export function myService(data){ 
	return request({
	    url: '/my/myService',
		method: 'post',
		data: data
	 })
}





